package com.dews.information.domain.vo;

import com.dews.common.utils.DateUtils;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 专业对象Vo
 *
 * @author qingfeng
 * @date 2024-11-15
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class SubjectVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @ApiModelProperty(value = "部门学院Id")
    private Long depId;

    @ApiModelProperty(value = "学院名称")
    private String depName;

    @ApiModelProperty(value = "专业名称")
    private String subjectName;

    @ApiModelProperty(value = "专业负责人Id")
    private Long directorId;

    @ApiModelProperty(value = "专业负责人名称")
    private String directorName;

    @ApiModelProperty(value = "专业代码")
    private String subjectCode;

    @ApiModelProperty(value = "是否启用：0-未启用  1-启用")
    private Integer isEnable;
    @ApiModelProperty(value = "创建时间")

    @DateTimeFormat(pattern = DateUtils.YYYY_MM_DD_HH_MM_SS)
    @JsonFormat(pattern = DateUtils.YYYY_MM_DD_HH_MM_SS, timezone = DateUtils.GMT)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    @DateTimeFormat(pattern = DateUtils.YYYY_MM_DD_HH_MM_SS)
    @JsonFormat(pattern = DateUtils.YYYY_MM_DD_HH_MM_SS, timezone = DateUtils.GMT)
    private LocalDateTime updateTime;

}
